package com.jiutian.cmsskitdev.service;

import java.io.IOException;

/**
 * @author: Jerryzaj
 * @description TODO
 * @date: 2024/5/27 15:29
 */
public interface LoginService {
    /**
     * 登录
     */
    Boolean login(String username, String password) throws IOException;

    /**
     * 注册
     */
    void sign();

    /**
     * 验证账号密码是否正确
     * @param username
     * @param password
     * @return
     */
    Boolean validLogin(String username, String password);
}
